<div id="bb" class="easyui-tabs" data-options="tabPosition:'left',fit:true," style="width:100%;">

    <?php foreach ($navigate as $k => $v) : ?>

    <?php if ($v[ 'type' ] == '1'){ ?>
    <div title="<?= $v[ 'text' ]; ?>"
         data-options="href:'<?= site_url( "admin/admin/index" ); ?>?url_id=<?= $v[ 'id' ] ?>&level=third',closable:true"
         style="margin-left:5px;margin-top:0px;">
        <?php }elseif ($v[ 'type' ] == '2'){ ?>
        <div title="<?= $v[ 'text' ]; ?>" data-options="closable:true"
             style="margin-left:5px;margin-top:0px;padding-bottom: 3px;">
            <iframe name="main" id="main" src="<?= site_url( $v[ "url" ] ); ?>?id=<?= $v[ 'id' ]; ?>"
                    frameborder="false" scrolling="auto" style="border: none;"
                    width="100%" height="100%" allowtransparency="true"></iframe>
            <?php } ?>
        </div>
        <?php endforeach; ?>

    </div>

